package com.pxmeta.skill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pxmeta.skill.entity.Skill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SkillMapper extends BaseMapper<Skill> {

    /**
     * 根据分类获取技能列表
     * @param category
     * @param userId
     * @return
     */
    List<Skill> getSkillListByCategory(@Param("category") Integer category, @Param("userId") Long userId);
}
